package com.easy.module.generator.query;

import com.easy.framework.common.model.BaseQuery;
import com.easy.framework.database.annotation.Query;
import com.easy.framework.database.annotation.QueryType;
import lombok.Getter;
import lombok.Setter;

/**
 * 生成表查询对象 sys_post
 * 
 * @author Yang Huijing (Email:1073602@qq.com)
 * @date 2024-11-03
 */

@Setter
@Getter
public class GenTableQuery extends BaseQuery
{
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @Query
    private Long id;

    /**
     * 数据源编号
     */
    @Query(
            name = "",
            type = QueryType.LIKE
    )
    private Long dataSourceId;

    /**
     * 表名
     */
    @Query(type = QueryType.LIKE)
    private String tableName;

    /**
     * 解释
     */
    private String tableComment;

    /**
     * 类型
     */
    private String type;

    /**
     * 模块名称
     */
    private String moduleName;

}
